<template>
  <div class="hmcell"
       @click="handlerClick">
    <div class="left">{{title}}</div>
    <div class="right">{{desc}}<span class="iconfont iconjiantou1"></span></div>
  </div>
</template>

<script>
export default {
  props: ['title', 'desc'],
  methods: {
    handlerClick (e) {
      this.$emit('click', e)
    }
  }
}
</script>

<style lang="less" scoped>
.hmcell {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  height: 60px;
  align-items: center;
  padding: 0 15px;
  .left {
    font-size: 14px;
  }
  .right {
    font-size: 12px;
    color: #999;
    .iconfont {
      font-size: 12px;
      margin-left: 5px;
    }
  }
}
</style>